// src/app/layout.tsx
import "@/app/globals.css";
import Modals from "@/components/social/modals";
import {Toaster} from "sonner";
import JotaiProvider from "@/components/social/jotai-provider";

export default function RootLayout({
                                       children,
                                   }: Readonly<{
    children: React.ReactNode;
}>) {
    return (
        <html lang="en">
        <body>
        <JotaiProvider>
            <Toaster/>
            <Modals/>
            {children}
        </JotaiProvider>
        </body>
        </html>
    );
}
